Check if file is in supported format