NN: Filter out unecessary libraries, remove unecessary files