-- get file path using file.getPath