Replace File#expand_path with File#read