changed reading file dir