move file to product controller