Works with common file extensions