Fixed file root directory problems.