Add different interface for read_file
Fix for balanced