cleaning up file paths