added support for . in file names