create file design updated to use params