fixed small problem with getting the file extension