Added more file methods

getting a specific piece, merging pieces into the complete file