Remove the "files" prefix conditionally