put billcontroller into index and edit filetype