127c8cd move file exists check to the correct place

Authored and Committed by clime 6 years ago
    move file exists check to the correct place
    
        
file modified
+5 -4