Add find view blocks
Fix duplicate path in get_configure_file
Clean duplicate code