Note down bugs and imperitive issues of the currently working system here:
1. detect when the nodes that files are attached to are unpublished