impl error handling in case that file is not found
make error message more verbose