def formatFilename( name ):
  """
  replace special characters in filename and make lowercase
  """
  return name.\
          replace( " ", "" ).\
          replace( ".", "_" ).\
          replace( "-", "_" ).\
          replace( "/", "_" ).\
          replace( "(", "_" ).\
          replace( ")", "_" ).\
          lower()