Added check for files location
First version of merge_all.sh script
Fixed bug with empty extension