diff --git a/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala b/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
index bcaf9dc778aa53cdffc0bc8132942b5ccecdb2dc..366fc0b78992ddb5ebee7878c3a001f868855dc2 100644
--- a/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
+++ b/public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
@@ -92,7 +92,7 @@ trait BiopetQScript extends Configurable with GatkLogging {
 
     inputFiles.foreach { i =>
       if (!i.file.exists()) Logging.addError(s"Input file does not exist: ${i.file}")
-      if (!i.file.canRead()) Logging.addError(s"Input file can not be read: ${i.file}")
+      else if (!i.file.canRead()) Logging.addError(s"Input file can not be read: ${i.file}")
     }
 
     reportClass.foreach(add(_))