diff --git a/GUI/View/Main/PyImportAssistant.cpp b/GUI/View/Loader/PyImportAssistant.cpp
similarity index 98%
rename from GUI/View/Main/PyImportAssistant.cpp
rename to GUI/View/Loader/PyImportAssistant.cpp
index 95a8ed957d0b80b136aec783826b2572a764bbb6..40251f87774e9832303a66269f033a6e38340271 100644
--- a/GUI/View/Main/PyImportAssistant.cpp
+++ b/GUI/View/Loader/PyImportAssistant.cpp
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Main/PyImportAssistant.cpp
+//! @file      GUI/View/Loader/PyImportAssistant.cpp
 //! @brief     Implements class PyImportAssistant.
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -14,7 +14,7 @@
 
 #ifdef BORNAGAIN_PYTHON
 
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Loader/PyImportAssistant.h"
 #include "BABuild.h"
 #include "Base/Util/Assert.h"
 #include "Base/Util/SysUtil.h"
diff --git a/GUI/View/Main/PyImportAssistant.h b/GUI/View/Loader/PyImportAssistant.h
similarity index 81%
rename from GUI/View/Main/PyImportAssistant.h
rename to GUI/View/Loader/PyImportAssistant.h
index a8c8c04986310f7f6b7a8d7744537837d7efea83..d2212636ff9505bc55989e235fb822d3a0feea06 100644
--- a/GUI/View/Main/PyImportAssistant.h
+++ b/GUI/View/Loader/PyImportAssistant.h
@@ -2,7 +2,7 @@
 //
 //  BornAgain: simulate and fit reflection and scattering
 //
-//! @file      GUI/View/Main/PyImportAssistant.h
+//! @file      GUI/View/Loader/PyImportAssistant.h
 //! @brief     Implements class PyImportAssistant.
 //!
 //! @homepage  http://www.bornagainproject.org
@@ -12,8 +12,8 @@
 //
 //  ************************************************************************************************
 
-#ifndef BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
-#define BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
+#ifndef BORNAGAIN_GUI_VIEW_LOADER_PYIMPORTASSISTANT_H
+#define BORNAGAIN_GUI_VIEW_LOADER_PYIMPORTASSISTANT_H
 
 #ifdef BORNAGAIN_PYTHON
 
@@ -32,4 +32,4 @@ SampleItem* importMultiLayer();
 
 #endif // BORNAGAIN_PYTHON
 
-#endif // BORNAGAIN_GUI_VIEW_MAIN_PYIMPORTASSISTANT_H
+#endif // BORNAGAIN_GUI_VIEW_LOADER_PYIMPORTASSISTANT_H
diff --git a/GUI/View/View/SampleView.cpp b/GUI/View/View/SampleView.cpp
index 5d1487c33f6f61474ea65219e3fe0bc3ea0528d5..369ec777e5b92105e7c160de4ff2fc2d7cfe5ab7 100644
--- a/GUI/View/View/SampleView.cpp
+++ b/GUI/View/View/SampleView.cpp
@@ -21,7 +21,7 @@
 #include "GUI/Model/Sample/ParticleLayoutItem.h"
 #include "GUI/Model/Sample/SamplesSet.h"
 #include "GUI/View/Base/mainwindow_constants.h"
-#include "GUI/View/Main/PyImportAssistant.h"
+#include "GUI/View/Loader/PyImportAssistant.h"
 #include "GUI/View/Modelview/SetView.h"
 #include "GUI/View/Realspace/RealspacePanel.h"
 #include "GUI/View/Realspace/RealspaceWidget.h"