I should also consider the source of the file. If it's from a personal collection, legal and ethical considerations come into play. Accessing and analyzing personal files without permission can be illegal and unethical. It's important to emphasize this to the user.
If you are unsure about the legality of the file or need further guidance:
Assuming it's a video file, the first step would be to try to identify the file format. The extension ".mpg" suggests it's an MPEG video, but I should confirm. I can use a file identification tool like TrID or Filext to check the actual format. Sometimes, file extensions can be misleading.
Social Media