Fixed bug: Check for multiple periods in file name before parsing