Showing error message if file isn't supported