outputs correct file path