There is no proper way to differentiate between Filecoin and IPFS as Filecoin simply runs on top of IPFS. While IPFS enables storage and content-based addressing, Filecoin is mostly leveraged to incentivize users for curating content into IPFS.
There is no structural or architectural difference between them because both of them work on different levels in a blockchain network.