Implements parsing for all other filetypes. Not tested yet.