edit file for allowing subfolder