added croak_on_error, fixed filename and filetype handling (so indexing now actually store content again), added --all option to index file paths of all files