This repository contains source codes for file fragment classification using Byte2Vec modeling. The codes can be used for i) downloading all files and folders from govdocs1 repository, ii) creating fragments from the files, iii) generating Byte2Vec models from the fragments, iv) generating features, and v) classifying an unknown fragments to its true type.