added case for non zipped files