prep work for custom files