'Get information about a file
parameters:
fid    - file id
size    - size of the file
ed2k    - ed2k-hash of the file
aid    - anime id
aname    - name of the anime
gid    - group id
gname    - name of the group
epno    - number of the episode
fmask    - a bitfield describing what information you want about the file
amask    - a bitfield describing what information you want about the anime
structure of parameters:
fid [fmask] [amask]
size ed2k [fmask] [amask]
(aid|aname) (gid|gname) epno [fmask] [amask]
structure of fmask:
bit    key        description
0    -        -
1    aid        aid
2    eid        eid
3    gid        gid
4    lid        lid
5    -        -
6    -        -
7    -        -
8    state        state
9    size        size
10    ed2k        ed2k
11    md5        md5
12    sha1        sha1
13    crc32        crc32
14    -        -
15    -        -
16    dublang        dub language
17    sublang        sub language
18    quality        quality
19    source        source
20    audiocodec    audio codec
21    audiobitrate    audio bitrate
22    videocodec        video codec
23    videobitrate    video bitrate
24    resolution    video resolution
25    filetype    file type (extension)
26    length        length in seconds
27    description    description
28    -        -
29    -        -
30    filename    anidb file name
31    -        -
structure of amask:
bit    key        description
0    gname        group name
1    gshortname    group short name
2    -        -
3    -        -
4    -        -
5    -        -
6    -        -
7    -        -
8    epno        epno
9    epname        ep english name
10    epromaji    ep romaji name
11    epkanji        ep kanji name
12    -        -
13    -        -
14    -        -
15    -        -
16    totaleps    anime total episodes
17    lastep        last episode nr (highest, not special)
18    year        year
19    type        type
20    romaji        romaji name
21    kanji        kanji name
22    name        english name
23    othername    other name
24    shortnames    short name list
25    synonyms    synonym list
26    categories    category list
27    relatedaids    related aid list
28    producernames    producer name list
29    producerids    producer id list
30    -        -
31    -        -'

def file(self, fid=None, size=None, ed2k=None, aid=None, aname=None, gid=None, gname=None, epno=None, fmask=(-1), amask=0, callback=None):

    return self.handle(FileCommand(fid, size, ed2k, aid, aname, gid, gname, epno, fmask, amask), callback)
