normailzeFilename and tests