Update file reader code functionlity (added multithreading)