Added feature to read files in parts