Re-adding debugfs.c after some cleanup