Removes folder prefix from filenames in config