Added getMotifFile for file input