removed file type from return tuple -  no need to include it