getFilePath public function for external use