remove file read and resource to get