Change to file and get absolute path