added fix for file extension