diff --git a/Code/IO/otbImageFileReader.txx b/Code/IO/otbImageFileReader.txx
index 24c90d67d6bdae980c2972bf4a8c15a8685a96fc..4343a3a98c01d06952f3c44a4c02bc8cfc09fef9 100755
--- a/Code/IO/otbImageFileReader.txx
+++ b/Code/IO/otbImageFileReader.txx
@@ -368,7 +368,7 @@ ImageFileReader<TOutputImage>
 
     // Test if the file can be open for reading access.
     //Only if m_FileName speciy a filname (not a dirname)
-    if( otb::System::IsAFileName( this->m_FileName ) == true )
+    if( System::IsAFileName( this->m_FileName ) == true )
     {
         std::ifstream readTester;
         readTester.open( this->m_FileName.c_str() );