modifying for multiple read
modify
modify for bug if a file is empty
checking the mag relation
modfy
comman removed