get path for file