change file path to full path