Fix: files can't belong to different profiles simultaneously