Added txt support