Making local file interface follow AWS file interface