diff --git a/src/main/java/nl/munlock/App.java b/src/main/java/nl/munlock/App.java
index 56a2719a56f1fbb55f33ec7471ea9d51baf98093..70fde348b80b4a34a99a85e493886562239fc0e9 100644
--- a/src/main/java/nl/munlock/App.java
+++ b/src/main/java/nl/munlock/App.java
@@ -29,8 +29,10 @@ public class App {
         // Make the irods connection
         Connection connection = new Connection(commandOptions);
 
-        // Downloading job files
-        Scanner scanner = new Scanner(new File(commandOptions.jobFile));
+        // Downloading job file
+        nl.munlock.irods.Generic.downloadFile(connection, new File(commandOptions.jobFile));
+
+        Scanner scanner = new Scanner(new File("." + commandOptions.jobFile));
         HashSet<String> hdts = new HashSet<>();
         HashSet<String> turtles = new HashSet<>();
         ArrayList<String> lines = new ArrayList<>();
diff --git a/src/test/java/AppTest.java b/src/test/java/AppTest.java
index e0dec7a75b2a83caf42ccf4d666d296ffa242a36..73c5c4ebaf8c959821749c2f9a9340342838391d 100644
--- a/src/test/java/AppTest.java
+++ b/src/test/java/AppTest.java
@@ -11,10 +11,10 @@ public class AppTest {
     @Test
     public void testPhyloseq() throws Exception {
         String[] args = {
-                "-i", "/Volumes/unlock-icat.irods.surfsara.nl/home/koehorst/phyloseq/MIB-Amplicon.job",
+                "-i", "/unlock/home/koehorst/phyloseq/TKI_BO3B.job",
                 "-database", "SILVA_138.1_SSURef_tax_silva.fasta.gz",
-                "-readLength", "70",
-                "-prefix", "MIB-AmpliconX"
+                "-readLength", "100",
+                "-prefix", "TKI_BO3B"
         };
         App.main(args);
     }