[OVC] Restrict reading only files that represent pytorch models (#34930)
### Details:
- *Restrict reading only files that represent pytorch models*
### Tickets:
- *None*
### AI Assistance:
- *AI assistance used: yes*
- *Helped to sketch out the solution.*