refactor ignore files for the public folder