Modifying to read from file adding fs