Separate profile name from file name