unnecessary view files are removed from views folder