Implemented storage of uploaded / imported file with updating of existing record if appropriate

Added lookup functions to allow users to check upload / import has worked as expected