Get proper filepath