add .flac to usable files

also need a refactoring