Yes, you can migrate files/attachments related to custom objects as well.