location to filelocaion