moved splittedFileName generation under file presence check
Merge pull request #3 from kashif-umair/hotfix/fixed_file_name_split_bug

moved splittedFileName generation under file presence check