refactor assets files