Fix duplicate readfile()