feature: added check for an empty file list