Configure File level compliance
In The Configuration Manager console choose create configuration item .
Follow as per the screen shot.
Choose always assume application is installed.
Follow as per the screen shots.
Choose file which you want to take the compliance and click ok.
Choose the os platform and check the below option also if you are fetching compliance for 64 bit related file.