core/misc.rs: Simplified read_file(path)