bit resolution and specific file embedding

Hi!

Since i decided to backup my CDs and Vinyls to FLAC, i am now thinking about to catalogue it all.
My preferred export format is .txt

Well the ones i don't have a clue about how to export are:

  • bit resolution (bits per sample) <- overall
  • cuesheet (.cue) available [yes/no] <- in folder
  • log file (.log) available [yes/no] <- in folder

I was able to find everything else i needed except these ones.
Would be super-duper-fantastic if anyone of you could help me lousy mp3tag douchebag.

Thanks in advance!

In other words:
Is it possible to implement a code that detects specific filetypes e.g. .log, .cue in a folder and returns with false or true?