remove unneeded imports
reads from specified directory and accounts for utf8