Check file exists after parameters