Change path from file to category