one file multithreading