Fixed bug with not handling ./ in file name