If you want to access an already saved attachment in the backend using the content id this solution is probably the easiest way using non-internal A12 components.
But
My use case involves uploading a CSV file and converting the entries into documents.
sounds like not using the ContentStore but instead creating a custom REST endpoint for the upload may be a better solution. There you can parse the file & create the documents without needing to write and read the attachment to the filesystem