finally working custom files