checks if file is supported
supported(file)
file
path to file
TRUE if file is supported, FALSE if not