test getting file path internally