Add readfile method