added check empty file name