TODO : fix file reading
help patch