sending file stats (total lines in file, language name) to api