ignore unmodified files; fix bug concerning directory creation in database