diff --git a/Tranga/TaskManager.cs b/Tranga/TaskManager.cs
index 7e454ed..59efb5e 100644
--- a/Tranga/TaskManager.cs
+++ b/Tranga/TaskManager.cs
@@ -272,14 +272,13 @@ public class TaskManager
///
/// Loads stored data (settings, tasks) from file
///
- /// working directory, filename has to be data.json
- public static SettingsData LoadData(string importFolderPath)
+ /// working directory, filename has to be data.json
+ public static SettingsData LoadData(string importFilePath)
{
- string importPath = Path.Join(importFolderPath, "data.json");
- if (!File.Exists(importPath))
+ if (!File.Exists(importFilePath))
return new SettingsData(Directory.GetCurrentDirectory(), null, null, new HashSet());
- string toRead = File.ReadAllText(importPath);
+ string toRead = File.ReadAllText(importFilePath);
SettingsData data = JsonConvert.DeserializeObject(toRead)!;
return data;