reverting change that made fs throw on require and removing related test