Update how filedata is processed.
Fix errors with dev and regular dependencies.