moving main file
Abstracting reader