translate files

simple check to translate an entire file