Topic Retention time and Timestamp.mode in Spool Dir CSV Source Connector

I am using the Spool Dir CSV Source Connector to get data in to a Kafka Topic.
In the Source Connector properties file I have set:
The file creation/modification time of the CSV file is approx. 8pm.

The Kafka Topic is set with a retention time of 1 day.

Is it correct to assume that the Topic uses the file time for the retention time?
E.g. even is the file is loaded in to Kafka at 11pm, the data will still expire at 8pm the next day?