normalize file loc