Fixed variables filePath and fileName not found in main.cpp