Preventing the DB import process from happening if there is no import file